package io.osw.modules.stock.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.osw.common.utils.PageUtils;
import io.osw.common.utils.Query;

import io.osw.modules.stock.dao.TblUploadLineDao;
import io.osw.modules.stock.entity.TblUploadLineEntity;
import io.osw.modules.stock.service.TblUploadLineService;


@Service("tblUploadLineService")
public class TblUploadLineServiceImpl extends ServiceImpl<TblUploadLineDao, TblUploadLineEntity> implements TblUploadLineService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<TblUploadLineEntity> page = this.selectPage(
                new Query<TblUploadLineEntity>(params).getPage(),
                new EntityWrapper<TblUploadLineEntity>()
        );

        return new PageUtils(page);
    }

}
